
package com.pikts.acc2blender.data;

public class Element {
  public DataStruct data;

  private Element nextElement;

  private Element previousElement;

  public Element() {
		nextElement = null;
		previousElement =null;
  }

  public Element(DataStruct data, Element nextElement) {
		this.nextElement=nextElement;
		this.data=data;
  }

  public Element getNext() {
		return nextElement;
  }

  public Element getPrevious() {
		return previousElement;
  }

  public void putPrevious(Element previousElement) {
		this.previousElement=previousElement;
  }

  public void putNext(Element nextElement) {
		this.nextElement=nextElement;
  }

  public void putData(DataStruct data) {
		this.data = data;
  }

  public DataStruct getData() {
		return data;
  }

}
